home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / disk / kutil14.zip / KEYIN.TXT < prev    next >
Text File  |  1996-08-25  |  6KB  |  190 lines

  1.                               K-TOOLS UTILITIES
  2.  
  3.               Copyright (c) 1994-96 by Rob McDonell, ARK ANGLES
  4.                              All Rights Reserved
  5.  
  6.                              KEYIN - Key In 1.4
  7.  
  8.  
  9. This utility enters keystrokes into the keyboard buffer, especially
  10. useful for automating responses in batch files.  This works in the same
  11. way as the .KEYIN macro command in K-Tools Desk Caddy and Workplace.
  12.  
  13.  
  14. USAGE:
  15.  
  16.   KEYIN [parm [parm [..]]]
  17.  
  18. where:  parm  is a string of normal and/or special characters
  19.  
  20. Normal characters, that is a-z, A-Z, 0-9 and most other symbols are put
  21. directly into the keyboard buffer as is, thereby covering almost all of the
  22. common "typewriter" keys.
  23.  
  24. Special characters are those that cannot be entered as normal characters,
  25. such as function keys, cursor movement keys and control codes.
  26.  
  27. Note that any spaces in the KEYIN parameter will be ignored.  If you want
  28. to enter a space character into the keyboard buffer, use the special
  29. character underline.
  30.  
  31. Note also that the keyboard buffer can usually only hold about 15 keystrokes
  32. at one time.  Any additional characters entered will be ignored.
  33.  
  34.  
  35. SPECIAL CHARACTERS:
  36.  
  37.  ~     (Tilde) will generate the <Enter> key.
  38.  
  39.  _     (Underline) will generate the <Space> key.
  40.  
  41.  /     (Slash) will generate the menu <F10> key.
  42.  
  43.  /n    (Slash followed by a single digit) will generate a function key:
  44.  
  45.        /1   <F1>
  46.        /2   <F2>
  47.        /3   <F3>
  48.        /4   <F4>
  49.        /5   <F5>
  50.        /6   <F6>
  51.        /7   <F7>
  52.        /8   <F8>
  53.        /9   <F9>
  54.        /0   <F10>
  55.  
  56.  !n    (Exclamation followed by a digit) will generate a shifted function key:
  57.  
  58.        !1   <Shift+F1>
  59.        !2   <Shift+F2>
  60.        !3   <Shift+F3>
  61.        !4   <Shift+F4>
  62.        !5   <Shift+F5>
  63.        !6   <Shift+F6>
  64.        !7   <Shift+F7>
  65.        !8   <Shift+F8>
  66.        !9   <Shift+F9>
  67.        !0   <Shift+F10>
  68.  
  69.  @z    (At sign followed by a single character or digit) will generate <Alt>
  70.        plus that character or digit.  The character may be in upper or lower
  71.        case.  The following combinations are also valid:
  72.  
  73.        @_   <Alt+Space>
  74.        @=   <Alt+Equals>
  75.        @-   <Alt+Minus>
  76.        @/1  <Alt+F1>
  77.        @/2  <Alt+F2>
  78.        @/3  <Alt+F3>
  79.        @/4  <Alt+F4>
  80.        @/5  <Alt+F5>
  81.        @/6  <Alt+F6>
  82.        @/7  <Alt+F7>
  83.        @/8  <Alt+F8>
  84.        @/9  <Alt+F9>
  85.        @/0  <Alt+F10>
  86.  
  87.  ^x    (Hat followed by a single character) will generate <Ctrl> plus that
  88.        character.  The character may be in upper or lower case.
  89.  
  90.  \nnn  (Backslash followed by a three digit number) will generate a character
  91.        with ASCII code nnn.  This allows any character, including those
  92.        otherwise unprintable or inaccessible by the keyboard, to be entered.
  93.  
  94.  \x    (Backslash followed by a single character) will generate one of the
  95.        cursor movement keys.  The character may be in upper or lower case:
  96.  
  97.        \B   <Bksp>         (backspace)
  98.        \C   <Esc>          (escape)
  99.        \I   <Ins>          (insert)
  100.        \D   <Del>          (delete)
  101.        \H   <Home>
  102.        \E   <End>
  103.        \P   <PgUp>         (page up)
  104.        \N   <PgDn>         (page down)
  105.        \L   <Left>         (cursor left)
  106.        \R   <Right>        (cursor right)
  107.        \S   <Shift+Tab>    (reverse tab)
  108.        \T   <Tab>          (forward tab)
  109.        \U   <Up>           (cursor up)
  110.        \W   <Down>         (cursor down)
  111.        \X   <Shift+Del>
  112.        \Y   <Shift+Ins>
  113.  
  114.        Any other character following a backslash is treated literally.  For
  115.        example, "\Q" is just the same as "Q".  This allows the other special
  116.        characters above to be used normally:
  117.  
  118.        \~   literal tilde
  119.        \_   literal underline
  120.        \/   literal slash
  121.        \!   literal exclamation mark
  122.        \@   literal at sign
  123.        \^   literal hat
  124.        \\   literal backslash
  125.  
  126.  Other control key combinations are also valid:
  127.  
  128.        ^~   <Ctrl+Enter>
  129.        ^\B  <Ctrl+Bksp>
  130.        ^\I  <Ctrl+Ins>
  131.        ^\D  <Ctrl+Del>
  132.        ^\H  <Ctrl+Home>
  133.        ^\E  <Ctrl+End>
  134.        ^\P  <Ctrl+PgUp>
  135.        ^\N  <Ctrl+PgDn>
  136.        ^\L  <Ctrl+Left>
  137.        ^\R  <Ctrl+Right>
  138.        ^/1  <Ctrl+F1>
  139.        ^/2  <Ctrl+F2>
  140.        ^/3  <Ctrl+F3>
  141.        ^/4  <Ctrl+F4>
  142.        ^/5  <Ctrl+F5>
  143.        ^/6  <Ctrl+F6>
  144.        ^/7  <Ctrl+F7>
  145.        ^/8  <Ctrl+F8>
  146.        ^/9  <Ctrl+F9>
  147.        ^/0  <Ctrl+F10>
  148.  
  149.  
  150. All other alphabetic, numeric, and punctuation characters are used
  151. exactly as they are.
  152.  
  153.  
  154. EXAMPLES:
  155.  
  156.   KEYIN deskcad~^omyfile~        will run Desk Caddy and open MYFILE on the
  157.                                  screen.  Note the use of the tilde for
  158.                                  <Enter> and the hat for a control key.
  159.  
  160.   KEYIN wipe_*.bak~y~            will run WIPE to obliterate all the *.BAK
  161.                                  files in the current directory and
  162.                                  automatically enter the 'y' response.  Note
  163.                                  the use of the underline for a space.
  164.  
  165.   KEYIN rmtree_a:\\~y~           will run RMTREE to remove the contents of
  166.                                  the root directory of drive A: and
  167.                                  automatically enter the 'y' response.  Note
  168.                                  the use of the two backslashes in a row to
  169.                                  get a single backslash.
  170.  
  171. Run KEYIN with no parameters or "?" or "/?" to display simple help and
  172. registration information.
  173.  
  174.  
  175. REGISTRATION:
  176.  
  177. This program is part of the K-TOOLS UTILITIES shareware package.  To keep
  178. using it after the 60 day trial period you must register, which costs only
  179. A$15 per utility or A$29, US$24, £15, Dm40, ¥2600 for the whole collection.
  180.  
  181. Author:     Rob McDonell
  182.             ARK ANGLES
  183.             P O Box 190 (61 Oaklands Rd)
  184.             Hazelbrook  NSW  2779
  185.             AUSTRALIA
  186. Phone:      Intl+61-47-588100
  187. Fax:        Intl+61-47-588638
  188. Compuserve: 100237,141
  189. Internet:   100237.141@compuserve.com
  190.